package com.assessment.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.assessment.dao.ApplyMapper;
import com.assessment.entity.Apply;

@Service
public class ApplyService {
	
	@Resource
	private ApplyMapper applyMapper;
	
	public List<Apply> findAllApply(){
		return applyMapper.findAllApply();
	}
	
	public void insertApply(Apply apply){
		applyMapper.insertApply(apply);
	}

}
